<!-- Generated automatically from an XML file of the same name.
     Copyright: Stephen J. Sangwine and Nicolas Le Bihan, 2008-2010.
--><html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>triu :: Functions (Quaternion Toolbox Function Reference)
</title><link rel="stylesheet" href="qtfmstyle.css" type="text/css"></head><body><h1>Quaternion Function Reference</h1><h2>triu</h2>
<p>Upper triangular part of matrix<br>(Quaternion overloading of standard MATLAB&reg; function)
</p>
<h2>Syntax</h2><p><tt>Y = triu(X, K)</tt></p>
<h2>Description</h2>
<p>
<tt>triu(X, K)</tt> extracts the upper triangular part of the matrix
<tt>X</tt>. It is
a straightforward overloading of the MATLAB&reg; function of the same name
implemented by a common mechanism for quaternion functions that can be
computed by separate application of the MATLAB&reg; function to each component
of the quaternion array.
</p>

<h2>See Also</h2>QTFM function: <a href="tril.html">tril</a><br>MATLAB&reg; function: <a href="matlab:doc triu">triu</a><br>
<h4>&copy; 2008-2010 Stephen J. Sangwine and Nicolas Le Bihan</h4><p><a href="license.html">License terms.</a></p></body></html>